package com.qipay.service;

import com.qi.protocol.constants.UserType;
import com.qipay.db.domains.User;
import com.qipay.service.i.IUserService;
import org.springframework.stereotype.Service;

@Service
public class UserService implements IUserService{
    @Override
    public User login(String username, String password) {
        return new User(UserType.PERSON,username,password);
    }
}
